package com.cloud.business.entity.sys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cloud.business.common.CommonTimeZone;
import com.cloud.core.annotation.ExcelColumn;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 销售录入用户信息
 * Copyright: Copyright (C) 2021 DLANGEL, Inc. All rights reserved.
 * Company: 大连安琪科技有限公司
 *
 * @author Rex
 * @since 2021/5/16 22:13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "SysSellerUser对象", description = "销售录入用户信息 ")
@TableName(autoResultMap = true)
public class SysSellerUser {

    private static final long serialVersionUID = 1595399680961L;

    @TableId(value = "object_id", type = IdType.AUTO)
    @ApiModelProperty(name = "objectId", value = "base-主键")
    private Integer objectId;
    @TableLogic
    @ApiModelProperty(name = "isDeleted", value = "base-删除标志")
    private Integer isDeleted;
    @ApiModelProperty(name = "pid", value = "base-上级id")
    private Integer pid;
    @ApiModelProperty(name = "sort", value = "base-排序")
    private Integer sort;
    @ApiModelProperty(name = "createUserId", value = "base-创建人")
    private Integer createUserId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = CommonTimeZone.TIMEZONE)
    @ApiModelProperty(name = "createTime", value = "base-创建时间")
    private Date createTime;
    @ApiModelProperty(name = "modificationUserId", value = "base-修改人")
    private Integer modificationUserId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = CommonTimeZone.TIMEZONE)
    @ApiModelProperty(name = "modificationTime", value = "base-修改时间")
    private Date modificationTime;
    @ApiModelProperty(name = "trueName", value = "真实名字")
    @ExcelColumn(value = "客户姓名", col = 1)
    private String trueName;
    @ApiModelProperty(name = "mobileNumber", value = "电话")
    @ExcelColumn(value = "联系方式", col = 3)
    private String mobileNumber;
    @ApiModelProperty(name = "province", value = "省")
    private Integer province;
    @ApiModelProperty(name = "city", value = "市")
    private Integer city;
    @ApiModelProperty(name = "district", value = "区")
    private Integer district;
    @ApiModelProperty(name = "address", value = "地址")
    private String address;
    @ApiModelProperty(name = "enumSex", value = "性别")
    @ExcelColumn(value = "性别", col = 2)
    private String enumSex;
    @ApiModelProperty(name = "birthday", value = "生日")
    @ExcelColumn(value = "生日", col = 5)
    private String birthday;
    @ApiModelProperty(name = "structId", value = "部门")
    private Integer structId;
    @ApiModelProperty(name = "remark", value = "备注")
    @ExcelColumn(value = "备注", col = 20)
    private String remark;
    @ApiModelProperty(name = "age", value = "年龄")
    @ExcelColumn(value = "年龄", col = 4)
    private Integer age;
    @ApiModelProperty(name = "income", value = "收入评估")
    @ExcelColumn(value = "收入评估", col = 8)
    private String income;
    @ApiModelProperty(name = "family", value = "家庭状况")
    @ExcelColumn(value = "家庭状况", col = 6)
    private String family;
    @ApiModelProperty(name = "positionName", value = "职业工作")
    @ExcelColumn(value = "职业工作", col = 7)
    private String positionName;
    @ApiModelProperty(name = "liveAddress", value = "居住区域")
    @ExcelColumn(value = "居住区域", col = 9)
    private String liveAddress;
    @ApiModelProperty(name = "lifeAddress", value = "生活区域")
    @ExcelColumn(value = "生活区域", col = 10)
    private String lifeAddress;
    @ApiModelProperty(name = "nowHouse", value = "现住小区")
    @ExcelColumn(value = "现住小区", col = 11)
    private String nowHouse;
    @ApiModelProperty(name = "visitProject", value = "到访项目")
    @ExcelColumn(value = "到访项目", col = 12)
    private String visitProject;
    @ApiModelProperty(name = "visitDate", value = "到访日期")
    @ExcelColumn(value = "到访日期", col = 13)
    private String visitDate;
    @ApiModelProperty(name = "recordDate", value = "录入日期")
    @ExcelColumn(value = "录入日期", col = 14)
    private String recordDate;
    @ApiModelProperty(name = "counselor", value = "置业顾问")
    @ExcelColumn(value = "置业顾问", col = 15)
    private String counselor;
    @ApiModelProperty(name = "isDeal", value = "是否成交")
    private Integer isDeal;
    @ApiModelProperty(name = "dealProject", value = "成交项目")
    @ExcelColumn(value = "成交项目", col = 16)
    private String dealProject;
    @ApiModelProperty(name = "dealRoom", value = "成交房号")
    @ExcelColumn(value = "成交房号", col = 17)
    private String dealRoom;
    @ApiModelProperty(name = "dealArea", value = "成交面积")
    @ExcelColumn(value = "成交面积", col = 18)
    private BigDecimal dealArea;
    @ApiModelProperty(name = "dealDate", value = "成交日期")
    @ExcelColumn(value = "成交日期", col = 19)
    private String dealDate;
    @ApiModelProperty(name = "dealCounselor", value = "成交顾问")
    private String dealCounselor;
}
